using System;

namespace Webshop20.Domain.Shared.Payment.Core
{
    [Serializable]
    public class DirectDebit : PaymentBase, IPayment
    {
        public virtual int BankCode { get; private set; }
        public virtual string BankName { get; private set; }
        public virtual string AccountNumber { get; private set; }
        public virtual string AccountOwner { get; private set; }

        public DirectDebit(int bankCode, string bankName, string accountNumber,string accountOwner)
        {
            BankCode = bankCode;
            BankName = bankName;
            AccountNumber = accountNumber;
            AccountOwner = accountOwner;
        }

        public DirectDebit()
        {}

        public virtual DateTime GetBillingTerm(DateTime orderDate)
        {
            throw new System.NotImplementedException();
        }
    }
}